/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.business.customer.facade.info;

import info.peigen.hotpot.business.customer.facade.enums.operator.CustomerOperatorRole;
import info.peigen.hotpot.business.customer.facade.enums.operator.CustomerOperatorStatus;
import info.peigen.hotpot.common.core.enums.YesOrNo;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

/**
 * <b>(CustomerOperator)</b>
 * 操作员领域对象
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2021/7/28
 */
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class CustomerOperatorInfo {
    /** 默认只有一个Master操作员的时候,改Id与customerId一样 */
    String                     operatorId;
    /** 登录名-可用手机号或邮箱 */
    String                     loginName;
    /** 登录密码 */
    String                     loginPassword;
    /** 密码盐 */
    String                     salt;
    /** 交易密码 */
    String                     payPassword;
    /** 状态 */
    CustomerOperatorStatus     status;
    /** 是否主操作员 */
    CustomerOperatorRole       customerOperatorRole;
    /** 是否删除标记 */
    YesOrNo                    deleteFlag;
    /** 活动记录 */
    CustomerOperatorActiveInfo activeInfo;
    /** 基础信息 */
    CustomerOperatorBaseInfo   baseInfo;
}